<?php

class OOWP_Atom_PostsNav
    extends OOWP_Formattable
{

    /* ACCESSORS */

    protected function getFormatPieces( )
    {
        ob_start();
        previous_posts_link('&laquo; Previous');
        $prev = ob_get_contents();
        ob_end_clean();

        ob_start( );
        next_posts_link('Next &raquo;');
        $next = ob_get_contents( );
        ob_end_clean( );

        return array($prev, $next);
    }

}
